rem @echo off & setlocal EnableDelayedExpansion
@setlocal EnableDelayedExpansion
echo %1 %2

set _current=%~dp0
cd "%_current%\..\"
set _parent=%cd%

set _path=%_parent%\Workspace\Eterfree.7z
"%_parent%\Program\7-Zip\7z.exe" x "%_path%" -mmt -aoa -bb3 %1 %2
if %ERRORLEVEL% == 0 (
	set _path=%_parent%\Workspace\Password.txt
	echo %2 1>"!_path!"
)

rem pause
exit 0
